<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'UnorderListModify.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
	<center>
   			<form action="${pageContext.request.contextPath}/UnorderListModify.do " method="post" onsubmit="return close1();">
   				<table width="300" height="300" id="content">
  					<caption>修改订单状态</caption>
  						<tr>
  							<td>订单ID:</td>
  							<td><input type="text"  required="" name="orderId" readonly="readonly" value="<%=request.getParameter("orderId") %>" id = "orderId"></td>
  						</tr>

  						<tr>
  							<td>订单状态</td>
  							<td>
								<input type="radio" name="orderState" value="成交"><label>成交</label>
                       			 <input type="radio" name="orderState" value="未成交"><label>未成交</label>
							</td>
  						</tr>
  						<tr>
  							<td colspan="2"><input type="submit" value="提交" id="submit"></td>
 						 </tr>
 				 </table>
  			</form>
  	</center>
	<script type="text/javascript">
  		function close1(){
  			parent.window.location.reload();
         	var index = parent.layer.getFrameIndex(window.name ); //获取窗口索引
         	parent.layer.close(index);
  		}
  	</script>
  	

  </body>
</html>
